From d69d57afa7d1966ab5ebc26bfe9eb1b24ba01571 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Wilmet?= Date: Wed, 9 Apr 2014 16:53:14 +0200 Subject: [PATCH] textview: inline a function gtk_text_view_move_cursor_internal() was exactly the same as gtk_text_view_move_cursor(), and was called only in the latter function. https://bugzilla.gnome.org/show_bug.cgi?id=727908 --- gtk/gtktextview.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 3194357a79..318818e903 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -5876,10 +5876,10 @@ move_cursor (GtkTextView *text_view, } static void -gtk_text_view_move_cursor_internal (GtkTextView *text_view, - GtkMovementStep step, - gint count, - gboolean extend_selection) +gtk_text_view_move_cursor (GtkTextView *text_view, + GtkMovementStep step, + gint count, + gboolean extend_selection) { GtkTextViewPrivate *priv; GtkTextIter insert; @@ -6122,15 +6122,6 @@ gtk_text_view_move_cursor_internal (GtkTextView *text_view, gtk_text_view_pend_cursor_blink (text_view); } -static void -gtk_text_view_move_cursor (GtkTextView *text_view, - GtkMovementStep step, - gint count, - gboolean extend_selection) -{ - gtk_text_view_move_cursor_internal (text_view, step, count, extend_selection); -} - static void gtk_text_view_move_viewport (GtkTextView *text_view, GtkScrollStep step, -- 2.30.2